ns_ns_ip
Configuration for IP on NetScaler resource.
Read/write properties
netmask<String>
netmask.
Minimum length = 1
Maximum length = 64
ns_ip_address<String>
NetScaler IP Address where IP needs to be created.
Minimum length = 1
Maximum length = 64
state<String>
state ENABLED/DISABLED.
Minimum length = 1
Maximum length = 64
id<String>
Id is system generated key.
mgmtaccess<String>
mgmtaccess ENABLED/DISABLED.
Minimum length = 1
Maximum length = 64
ipaddress<String>
NetScaler ipaddress that needs to be created.
Minimum length = 1
Maximum length = 64
hostname<String>
Hostname of the managed device.
Minimum length = 1
Maximum length = 256
type<String>
Type of IP Address, Possible Values: SNIP, NSIP, VIP.
Minimum length = 1
Maximum length = 64
save_config<Boolean>
true, if save config is required.
Read only properties
partition_name<String>
Partition Name.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/ns_ns_ip?onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"ns_ns_ip": {
"netmask":<String_value>,
"ns_ip_address":<String_value>,
"ipaddress":<String_value>,
"type":<String_value>,
"hostname":<String_value>,
"save_config":<Boolean_value>,
"mgmtaccess":<String_value>,
"state":<String_value>,
"id":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ns_ns_ip":[{
"netmask":<String_value>,
"ns_ip_address":<String_value>,
"state":<String_value>,
"id":<String_value>,
"partition_name":<String_value>,
"mgmtaccess":<String_value>,
"ipaddress":<String_value>,
"hostname":<String_value>,
"type":<String_value>,
"save_config":<Boolean_value>}]}